package com.climber.android.usercenter.ui

import com.climber.android.commonres.ui.BaseMVPActivity
import io.ganguo.library.mvp.ui.mvp.IPresenter
import io.ganguo.library.mvp.ui.mvp.di.component.AppComponent

/**
 * Created by Mikes at 2019-11-10 14:41
 */
class TestUserCenterMainActivity : BaseMVPActivity<IPresenter>(){
    override fun setupActivityComponent(appComponent: AppComponent) {
    }

    override fun initListener() {
    }

    override fun initData() {
    }

    override fun initView() {
//        if(AppAccount.isAuthenticated()){
//            with(supportFragmentManager.beginTransaction()) {
//                this.add(R.id.test_inc_center, IncUserCenterFragment())
//                this.commit()
//            }
//        } else{
//            openActivity(Intent(this, IncSignInActivity::class.java))
//            finish()
//        }
    }

    override fun getLayoutResourceId(): Int = 0
}